package com.qfedu.aunt.commons.exception;

import lombok.Data;

/**
 * @author xiaobobo
 * @title: BusinessException
 * @projectName aunt_commons_2209
 * @description: TODO
 * @date 2022/10/24  15:35
 */
@Data
public class BusinessException extends RuntimeException {

    private Integer code;
    private String message;

    public BusinessException(Integer code,String message){
        super(message);
        this.code=code;
        this.message=message;
    }
}
